package band.wukong.practice.webservice.kh.sample08;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.xml.ws.Endpoint;

/**
 * @author wukong(wukonggg@139.com)
 */
public class UserServer {

    private static final Logger logger = LoggerFactory.getLogger(UserServer.class);

    public static void main(String[] args) {
        Endpoint.publish(UserConst.SERVICE_URL, new UserServiceImpl());
        logger.info("Server started.");
        logger.info("WSDL = " + UserConst.SERVICE_WSDL);
    }
}
